package com.sevens.vo;

import java.sql.Timestamp;

/**
 * News entity. @author MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private Integer newsId;
	private String newstitle;
	private Timestamp releasetime;
	private String newsreleaser;
	private String newscategory;
	private String newscontent;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String newstitle, Timestamp releasetime, String newsreleaser,
			String newscategory, String newscontent) {
		this.newstitle = newstitle;
		this.releasetime = releasetime;
		this.newsreleaser = newsreleaser;
		this.newscategory = newscategory;
		this.newscontent = newscontent;
	}

	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public String getNewstitle() {
		return this.newstitle;
	}

	public void setNewstitle(String newstitle) {
		this.newstitle = newstitle;
	}

	public Timestamp getReleasetime() {
		return this.releasetime;
	}

	public void setReleasetime(Timestamp releasetime) {
		this.releasetime = releasetime;
	}

	public String getNewsreleaser() {
		return this.newsreleaser;
	}

	public void setNewsreleaser(String newsreleaser) {
		this.newsreleaser = newsreleaser;
	}

	public String getNewscategory() {
		return this.newscategory;
	}

	public void setNewscategory(String newscategory) {
		this.newscategory = newscategory;
	}

	public String getNewscontent() {
		return this.newscontent;
	}

	public void setNewscontent(String newscontent) {
		this.newscontent = newscontent;
	}

}